﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EuroManager.Domain.Simulator.Helpers;
using NUnit.Framework;

namespace EuroManager.Domain.Simulator.Tests.Helpers
{
    [TestFixture]
    public class ObjectExtensionsTests
    {
        [Test]
        public void ShouldMakeEnumerableFromItem()
        {
            int i = 5;
            IEnumerable<int> result = i.AsEnumerable();

            Assert.AreEqual(i, result.Single());
        }
    }
}
